/**
 * Promise封装wx.checkSession
 */
function setSelectIndex(id) {
  //存储选中
  wx.setStorageSync('selectIndex', id);
}


function getSelectIndex() {
  return wx.getStorageSync('selectIndex')
}


module.exports = {
  setSelectIndex,
  getSelectIndex,
};